/*
*   @Author: ffy
*   @Contributor: 1296
*   @Date: 2025-03-16
*   @Description: 关于项目
*/

<template>
  <div class="about-container">
    <div class="content-box">
      <h1 class="title">{{ $t('quickSign') }}</h1>
      <div class="description">
        <h2>{{ $t('projectIntroduction') }}</h2>
        <p>{{ $t('pi-description') }}</p>

        <h2>{{ $t('mainFunction') }}</h2>
        <ul>
          <li>{{ $t('mainFunction-tec') }}</li>
          <li>{{ $t('mainFunction-stu') }}</li>
          <li>{{ $t('mainFunction-time') }}</li>
          <li>{{ $t('mainFunction-data') }}</li>
        </ul>

        <h2>{{ $t('technicalFeature') }}</h2>
        <p>{{ $t('tf-description') }}</p>
      </div>
    </div>

<!--    <div class="footer-note">-->
<!--      教师学生双端签到程序-->
<!--    </div>-->
  </div>
</template>

<style scoped>
.about-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f7fa;
  padding: 2rem;
  position: relative;
}

.content-box {
  max-width: 800px;
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.6s ease;
}

.title {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
}

.description {
  color: #4a5568;
  line-height: 1.7;
}

h2 {
  color: #3b82f6;
  margin: 1.2em 0 0.8em;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.4em;
}

ul {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

li {
  margin-bottom: 0.6rem;
}

.footer-note {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #718096;
  font-size: 0.9rem;
  opacity: 0.8;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .content-box {
    padding: 1.5rem;
    margin: 1rem;
  }

  .title {
    font-size: 1.8rem;
  }
}
</style>